package com.example.teesystem.common.websocket.model;

import com.example.teesystem.entity.Issue;
import com.example.teesystem.entityDto.IssueSimpleMessage;
import lombok.Data;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/5/12 10:20
 */
@Data
public class PKResultMessage {
    private IssueSimpleMessage issueSimpleMessage;
    private boolean isRight;

    public PKResultMessage(Issue issue, boolean isRight){
        issueSimpleMessage = new IssueSimpleMessage(issue);
        this.isRight = isRight;
    }
}
